import type { MetaFunction, LoaderFunctionArgs } from "@remix-run/cloudflare";

export const meta: MetaFunction = () => {
  return [
    { title: "Alist Feed admin" },
    { name: "description", content: "Control your feed!" },
  ];
};
export async function loader({ context }: LoaderFunctionArgs) {
  const user = context.user;
  const session = context.session;
  return Response.json({
    user,
    session
  });
}

export default function AdminFeed() {
  return <div>Admin Feed</div>;
}